<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>盒子阴影</title>
		<style>
			div#d1{
				height: 400px;
				width: 400px;
				border: 2px solid red;
				margin: 40px;
				box-shadow:  -20px 20px 5px green;
			}
			div#d2{
				height: 400px;
				width: 400px;
				border: 2px solid brown;
				margin: 140px;
				box-shadow:  -20px -20px 5px red,20px -20px 5px green,20px 20px 5px blueviolet,-20px 20px 5px yellow;
			}
		</style>
	</head>
	<body>
		<div id="d1"></div>
		<div id="d2"></div>
	</body>
</html>